<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>API文档错误</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="container mt-5">
    <div class="alert alert-danger">
        <h2 class="h4 mb-3"><i class="fa fa-exclamation-circle me-2"></i>文档加载失败</h2>
        <p th:text="${error}">未知错误</p>
        <hr>
        <a href="/api-docs" class="btn btn-primary">
            <i class="fa fa-refresh me-1"></i> 重试
        </a>
        <a href="/api-docs/json" class="btn btn-outline-secondary ms-2">
            <i class="fa fa-code me-1"></i> 查看JSON数据
        </a>
    </div>
</div>
</body>
</html>